# -*- coding:utf-8 -*-
'''
@author: xiaoming
@contact: lishihui0129@163.com
@time: 2017/6/29 15:40
@desc:
'''
import re
import os
from myUtil import mobilphonePattern,flagSplitPattern
from mysqlHelper import connectDB,close,insertSql


def mobelphoneNumberExtract(string):
    '''
    :param string: 待提取对象
    :return:提取结果
    '''
    res=re.findall(mobilphonePattern,string)

    res=list(set(res))

    temp=[]

    for item in res:
        temp.append(item)
    return temp
